﻿using System;
using Microsoft.Win32.SafeHandles;

namespace 调用类成员
{
    class Program
    {
        public enum profession
        {
            法师,
            战士,
            刺客,
            射手

        }

        static void Main(string[] args)
        {
            Game Huangzhong = new Game();
            Huangzhong.Name = "黄忠";
            Huangzhong.age = 58;
            Huangzhong.height = 208;
            Huangzhong.profession = "射手";

            Huangzhong.HZ();
            Console.ReadKey();
        }
    }
}
